package com.base.social.auth;

import com.base.social.cache.AuthStateCache;
import com.base.social.config.AuthConfig;

public interface AuthFactory {

    /**
     * 实例化工作实现类
     * @param authStateCache 是否缓存状态
     * @return
     */
    Auth instance(AuthConfig authConfig, AuthStateCache authStateCache);
}
